package com.xxl.job.core.biz.model;

import java.io.Serializable;

public class TaskInfo implements Serializable {

    /**
     * 任务组ID
     */
    private String groupId;
    /**
     * 参数
     */
    private String param;
    /**
     * 任务执行handler
     */
    private String handler;
    /**
     * 任务执行规则表达式(0/1 * * * * ?)
     */
    private String corn;

    public TaskInfo() {
    }


    public TaskInfo(String groupId, String handler) {
        this.groupId = groupId;
        this.handler = handler;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getHandler() {
        return handler;
    }

    public void setHandler(String handler) {
        this.handler = handler;
    }

    public String getCorn() {
        return corn;
    }

    public void setCorn(String corn) {
        this.corn = corn;
    }
}
